﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MobileAPI.Web.Data
{
    public class MessageCode
    {
        public static class Success
        {
            public static String Code = "00000000";
            public static String Msg = "请求成功";
        }
        //public static class Login_Success
        //{
        //    public static String Code = "00000100";
        //    public static String Msg = "登录成功";
        //}
        public static class Paramter_Empty
        {
            public static String Code = "10000100";
            public static String Msg = "有参数为空";
        }
        public static class Login_Faild_Empty
        {
            public static String Code = "10000101";
            public static String Msg = "用户名密码为空";
        }
        public static class Login_Faild_Not_Exist
        {
            public static String Code = "10000102";
            public static String Msg = "用户名不存在";
        }
        public static class Login_Faild_Already_Exist
        {
            public static String Code = "10000103";
            public static String Msg = "用户名已存在";
        }
        public static class Login_Faild
        {
            public static String Code = "10000104";
            public static String Msg = "用户名密码错误";
        }
        public static class Favorite_Already_Exit
        {
            public static String Code = "10000105";
            public static String Msg = "店铺已经在您的收藏夹中";
        }
        public static class AddressName_Already_Exit
        {
            public static String Code = "10000106";
            public static String Msg = "地址名称已经存在";
        }
        public static class APICode_Empty
        {
            public static String Code = "10000200";
            public static String Msg = "提交的Head.APICode 不能为空，请确认";
        }
        public static class Format_Error
        {
            public static String Code = "10000300";
            public static String Msg = "提交数据格式错误，请确认";
        }
        public static class Result_Empty
        {
            public static String Code = "10000301";
            public static String Msg = "没有找到相关数据";
        }
        public static class Server_Error
        {
            public static String Code = "40000000";
            public static String Msg = "服务器端发生错误";
        }

        public static class Sql_Attack
        {
            public const String Code = "60000100";
            public const String Desription = "检测到SQL注入攻击";
        }






        //public struct SUCCESS
        //{
        //    public const String Code = "000000";
        //    public const String Desription = "请求成功";
        //}
    }
}